home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XMapWindow.z / XMapWindow
Encoding:
Text File  |  2002-10-03  |  5.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXMMMMaaaappppWWWWiiiinnnnddddoooowwww((((3333XXXX11111111))))   XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))    XXXXMMMMaaaappppWWWWiiiinnnnddddoooowwww((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XMapWindow, XMapRaised, XMapSubwindows - map windows
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           XMapWindow(_d_i_s_p_l_a_y, _w)
  13.                 Display *_d_i_s_p_l_a_y;
  14.                 Window _w;
  15.  
  16.           XMapRaised(_d_i_s_p_l_a_y, _w)
  17.                 Display *_d_i_s_p_l_a_y;
  18.                 Window _w;
  19.  
  20.           XMapSubwindows(_d_i_s_p_l_a_y, _w)
  21.                 Display *_d_i_s_p_l_a_y;
  22.                 Window _w;
  23.  
  24.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  25.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  26.  
  27.           _w         Specifies the window.
  28.  
  29.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  30.           The _X_M_a_p_W_i_n_d_o_w function maps the window and all of its
  31.           subwindows that have had map requests.  Mapping a window
  32.           that has an unmapped ancestor does not display the window
  33.           but marks it as eligible for display when the ancestor
  34.           becomes mapped.  Such a window is called unviewable.  When
  35.           all its ancestors are mapped, the window becomes viewable
  36.           and will be visible on the screen if it is not obscured by
  37.           another window.  This function has no effect if the window
  38.           is already mapped.
  39.  
  40.           If the override-redirect of the window is _F_a_l_s_e and if some
  41.           other client has selected _S_u_b_s_t_r_u_c_t_u_r_e_R_e_d_i_r_e_c_t_M_a_s_k on the
  42.           parent window, then the X server generates a _M_a_p_R_e_q_u_e_s_t
  43.           event, and the _X_M_a_p_W_i_n_d_o_w function does not map the window.
  44.           Otherwise, the window is mapped, and the X server generates
  45.           a _M_a_p_N_o_t_i_f_y event.
  46.  
  47.           If the window becomes viewable and no earlier contents for
  48.           it are remembered, the X server tiles the window with its
  49.           background.  If the window's background is undefined, the
  50.           existing screen contents are not altered, and the X server
  51.           generates zero or more _E_x_p_o_s_e events.  If backing-store was
  52.           maintained while the window was unmapped, no _E_x_p_o_s_e events
  53.           are generated.  If backing-store will now be maintained, a
  54.           full-window exposure is always generated.  Otherwise, only
  55.           visible regions may be reported.  Similar tiling and
  56.           exposure take place for any newly viewable inferiors.
  57.  
  58.           If the window is an _I_n_p_u_t_O_u_t_p_u_t window, _X_M_a_p_W_i_n_d_o_w generates
  59.           _E_x_p_o_s_e events on each _I_n_p_u_t_O_u_t_p_u_t window that it causes to
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXMMMMaaaappppWWWWiiiinnnnddddoooowwww((((3333XXXX11111111))))   XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))    XXXXMMMMaaaappppWWWWiiiinnnnddddoooowwww((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           be displayed.  If the client maps and paints the window and
  75.           if the client begins processing events, the window is
  76.           painted twice.  To avoid this, first ask for _E_x_p_o_s_e events
  77.           and then map the window, so the client processes input
  78.           events as usual.  The event list will include _E_x_p_o_s_e for
  79.           each window that has appeared on the screen. The client's
  80.           normal response to an _E_x_p_o_s_e event should be to repaint the
  81.           window.  This method usually leads to simpler programs and
  82.           to proper interaction with window managers.
  83.  
  84.           _X_M_a_p_W_i_n_d_o_w can generate a _B_a_d_W_i_n_d_o_w error.
  85.  
  86.           The _X_M_a_p_R_a_i_s_e_d function essentially is similar to _X_M_a_p_W_i_n_d_o_w
  87.           in that it maps the window and all of its subwindows that
  88.           have had map requests.  However, it also raises the
  89.           specified window to the top of the stack.
  90.  
  91.           _X_M_a_p_R_a_i_s_e_d can generate a _B_a_d_W_i_n_d_o_w error.
  92.  
  93.           The _X_M_a_p_S_u_b_w_i_n_d_o_w_s function maps all subwindows for a
  94.           specified window in top-to-bottom stacking order.  The X
  95.           server generates _E_x_p_o_s_e events on each newly displayed
  96.           window.  This may be much more efficient than mapping many
  97.           windows one at a time because the server needs to perform
  98.           much of the work only once, for all of the windows, rather
  99.           than for each window.
  100.  
  101.           _X_M_a_p_S_u_b_w_i_n_d_o_w_s can generate a _B_a_d_W_i_n_d_o_w error.
  102.  
  103.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  104.           _B_a_d_W_i_n_d_o_w A value for a Window argument does not name a
  105.                     defined Window.
  106.  
  107.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  108.           XChangeWindowAttributes(3X11), XConfigureWindow(3X11),
  109.           XCreateWindow(3X11), XDestroyWindow(3X11),
  110.           XRaiseWindow(3X11), XUnmapWindow(3X11)
  111.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.